home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 61
/
Volume 61 - JOGO DISK .iso
/
Games
/
fruit_cake_decoration.swf
/
scripts
/
DefineSprite_193_dec54_link
/
frame_1
/
DoAction.as
Wrap
Text File
|
2008-03-12
|
551b
|
33 lines
this.onPress = function()
{
if(_root.end == "off")
{
startDrag(this,0);
}
};
this.onRelease = function()
{
if(_root.end == "off")
{
stopDrag();
_root.level = _root.level + 1;
this.swapDepths(_root.level);
}
};
this.onReleaseOutside = function()
{
stopDrag();
};
this.onEnterFrame = function()
{
if(_root.reset == "on")
{
this.removeMovieClip();
}
if(this.hitTest(_root.gar_mc))
{
_root.gar_mc.gotoAndPlay(2);
this.removeMovieClip();
}
};